package com.project.thisConsume.controller.business;

import com.project.thisCommon.model.RequestBase;
import com.project.thisCommon.model.ResultBase;
import com.server.thisFacade.business.UserInfoInterface;
import com.server.thisFacade.domain.reqeust.UserRequest;
import com.server.thisFacade.domain.result.UserResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

//上传配置
//@RocketRoute
@FeignClient("PROJECT-SERVER")
@RestController
@RequestMapping({"/user"})
public interface UserInterface {
    @PostMapping("/findUserInfo")
    ResultBase<UserResult> findUserInfo(RequestBase<UserRequest> userInfo) throws Exception;
}
